/**
 * 图标工具模块
 */
import { 
  Brain as AIDecisionIcon,
  MessageSquare as LLMIcon,
  BarChart as DataAnalysisIcon,
  Eye as ComputerVisionIcon,
  Monitor as VDIIcon,
  Bot as RPAIcon,
  Headphones as CustomerServiceIcon,
  Link as BlockchainIcon,
  HelpCircle as QuestionMarkIcon
} from 'lucide-vue-next'

// 图标组件映射
export const icons = {
  AIDecisionIcon,
  LLMIcon,
  DataAnalysisIcon,
  ComputerVisionIcon,
  VDIIcon,
  RPAIcon,
  CustomerServiceIcon,
  BlockchainIcon,
  QuestionMarkIcon
}

/**
 * 根据图标名称获取对应的图标组件
 * @param {string} iconName - 图标名称
 * @returns {Component} 图标组件
 */
export function getIconComponent(iconName) {
  const iconMap = {
    'AIDecisionIcon': AIDecisionIcon,
    'LLMIcon': LLMIcon,
    'DataAnalysisIcon': DataAnalysisIcon,
    'ComputerVisionIcon': ComputerVisionIcon,
    'VDIIcon': VDIIcon,
    'RPAIcon': RPAIcon,
    'CustomerServiceIcon': CustomerServiceIcon,
    'BlockchainIcon': BlockchainIcon,
    'QuestionMarkIcon': QuestionMarkIcon
  }
  return iconMap[iconName] || QuestionMarkIcon
}

// 导出所有图标
export {
  AIDecisionIcon,
  LLMIcon,
  DataAnalysisIcon,
  ComputerVisionIcon,
  VDIIcon,
  RPAIcon,
  CustomerServiceIcon,
  BlockchainIcon,
  QuestionMarkIcon
} 